package dowm;

public class Chinese extends People{

    public Chinese(double height, double weight) {
        super(height, weight);
    }

    @Override
    public void speakHello() {
        System.out.println("你好，我是一个中国人。");
    }

    @Override
    public void averageHeight() {
        System.out.println("中国人的平均身高: " + height);
    }

    @Override
    public void averageWeight() {
        System.out.println("中国人的平均体重: " + weight);
    }

    public void chinaGongfu() {
        System.out.println("我会中国功夫。");
    }
}

